

obj-$(CONFIG_FH_GMAC) += fh_gmac.o

fh_gmac-objs := fh_gmac_dma.o fh_gmac_main.o fh_gmac_ethtool.o fh_gmac_phyt.o

obj-$(CONFIG_FH_QOS_GMAC) += fh_qos_gmac.o

fh_qos_gmac-objs := fh_qos_gmac_dma.o fh_qos_gmac_main.o fh_qos_gmac_ethtool.o fh_qos_gmac_phyt.o

fh_qos_gmac-objs := fh_qos_gmac_dma.o fh_qos_gmac_main.o fh_qos_gmac_ethtool.o fh_qos_gmac_phyt.o

ifeq ($(CONFIG_FH_GMAC_DTS_PARSE),y)
	fh_gmac-objs	+= fh_gmac_dts_parse.o
endif

ifeq ($(CONFIG_FH_QOS_DTS_V1),y)
	fh_qos_gmac-objs	+= fh_qos_dts_parse_v1.o
endif

ifeq ($(CONFIG_FH_QOS_DTS_V2),y)
	fh_qos_gmac-objs	+= fh_qos_dts_parse_v2.o
endif
